package com.educate.device.rpc.api;

import com.educate.device.model.bo.ChildDeviceBO;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;

import java.util.List;

public interface ChildDeviceService {

    void create(ChildDeviceBO bo);

    void delete(ChildDeviceBO bo);

    void delete(String childDeviceId);

    ChildDeviceBO detail(String childDeviceId);

    ChildDeviceBO detail(ChildDeviceBO bo);

    void update(ChildDeviceBO bo);

    Page<ChildDeviceBO> query(ChildDeviceBO bo, PageRequest pageRequest);

    List<ChildDeviceBO> list(ChildDeviceBO bo);
}
